package com.tulingxueyuan.mall.modules.oms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tulingxueyuan.mall.dto.OmsOrderViewDTO;
import com.tulingxueyuan.mall.modules.oms.model.OmsOrder;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author XuShu
 * @since 2023-05-28
 */
public interface OmsOrderMapper extends BaseMapper<OmsOrder> {

    /**
     * 查询订单详情
     * @param id
     * @return
     */
    OmsOrderViewDTO getByIdWithOrderItem(@Param(value = "id") Integer id);
}
